package com.shuai.frame.registry;

import com.shuai.frame.model.ServiceMetaInfo;

import java.util.List;

public class RegistryLocalCache {
    private static List<ServiceMetaInfo> localCache;

    public void setLocalCache(List<ServiceMetaInfo> localCache) {
        RegistryLocalCache.localCache = localCache;
    }

    public List<ServiceMetaInfo> getLocalCache() {
        return localCache;
    }

    public void clear() {
        localCache = null;
    }
}
